package org.jeecg.modules.inspect.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 任务项
 * @Author: jeecg-boot
 * @Date:   2023-11-24
 * @Version: V1.0
 */
@Data
@TableName("ins_task_item")
@ApiModel(value="ins_task_item对象", description="任务项")
public class InsTaskItem implements Serializable {
    private static final long serialVersionUID = 1L;

	/**任务项ID*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "任务项ID")
    private java.lang.String id;

    /**任务项名称*/
    @ApiModelProperty(value = "任务项名称")
    private java.lang.String itemName;

	/**任务*/
    @ApiModelProperty(value = "任务")
    private java.lang.String taskId;

	/**线路*/
	@Excel(name = "线路", width = 15)
    @Dict(dicCode = "id",dicText = "line_name",dictTable = "ins_line")
    @ApiModelProperty(value = "线路")
    private java.lang.String lineId;

	/**点位*/
	@Excel(name = "点位", width = 15)
    @Dict(dicCode = "id",dicText = "point_name",dictTable = "ins_point")
    @ApiModelProperty(value = "点位")
    private java.lang.String pointId;

	/**任务项状态*/
	@Excel(name = "任务项状态", width = 15)
    @Dict(dicCode = "item_status")
    @ApiModelProperty(value = "任务项状态")
    private java.lang.String itemStatus;

	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;

	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;

	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;

	/**修改人*/
    @ApiModelProperty(value = "修改人")
    private java.lang.String updateBy;

	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private java.util.Date updateTime;

	/**删除标记 0正常 1已删除*/
	@Excel(name = "删除标记 0正常 1已删除", width = 15)
    @ApiModelProperty(value = "删除标记 0正常 1已删除")
    //@TableLogic
    private java.lang.Integer delFlag;

	/**组织机构编码*/
    @ApiModelProperty(value = "组织机构编码")
    private java.lang.String sysOrgCode;

    @ApiModelProperty(value = "巡检内容")
    @TableField(exist = false)
    private String inspectContent;

    /**打卡签到起始时间*/
    @Excel(name = "打卡签到起始时间", width = 15)
    @ApiModelProperty(value = "打卡签到起始时间")
    private String classTimePre;
    /**打卡签到结束时间*/
    @Excel(name = "打卡签到结束时间", width = 15)
    @ApiModelProperty(value = "打卡签到结束时间")
    private String classTimeEnd;

    /**巡检时间*/
    @Excel(name = "巡检时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "巡检时间")
    private java.util.Date insTime;

    /**打卡时间状态色*/
    @ApiModelProperty(value = "打卡时间状态色")
    @TableField(exist = false)
    private java.lang.String insTimeColor;
}
